package de.tabiteuea.dbAccess;

/**
 * Analysis object
 * Represents an analysis
 * @author Erik Schreiber
 */

public class AnalysisObject {
	
	private int id;
	private int corpus_id;
	private int significance_type;
	private double sentence_length;
	private int word_coverage;
	
	/**
	 * Constructor without params
	 */
	public AnalysisObject(){
		
	}
	
	/**
	 * Constructor, with params
	 * @param corpus_id id of the related corpus in the database
	 * @param significance_type type of significance
	 * @param sentence_length average length of sentences in corpus
	 * @param word_coverage word coverage
	 */
	public AnalysisObject(int corpus_id, int significance_type, double sentence_length, int word_coverage){
		
		this.corpus_id = corpus_id;
		this.significance_type = significance_type;
		this.sentence_length = sentence_length;
		this.word_coverage = word_coverage;		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCorpus_id() {
		return corpus_id;
	}

	public void setCorpus_id(int corpus_id) {
		this.corpus_id = corpus_id;
	}

	public int getSignificance_type() {
		return significance_type;
	}

	public void setSignificance_type(int significance_type) {
		this.significance_type = significance_type;
	}

	public double getSentence_length() {
		return sentence_length;
	}

	public void setSentence_length(double sentence_length) {
		this.sentence_length = sentence_length;
	}

	public int getWord_coverage() {
		return word_coverage;
	}

	public void setWord_coverage(int word_coverage) {
		this.word_coverage = word_coverage;
	}

	
}
